package cn.bgs.mapper;

import cn.bgs.pojo.MonthCard;
import cn.bgs.vo.MonthVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 月卡表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface MonthCardMapper extends BaseMapper<MonthCard> {

    int buyMonthCard(MonthCard monthCard);


    void updateCarMonthState(Integer vehicleCarId);


    int updateYkinfo(MonthVo monthVo);

    boolean addYkInfo(MonthVo monthVo);

    int delYkInfo(Integer cardId);

    List<MonthVo> selectPcInfo(MonthVo monthVo);

//    List<MonthVo> selectPcInfo();

}
